import request from "../axios.js";
import { baseUrl } from "@/config/env";

// 前台获取待审批会议
export function getCmsMeeting(params) {
  return request({
    url: baseUrl + "/cmsMeeting/getCmsMeeting",
    method: "get",
    params,
  });
}

// 通过会议 id 修改会议
export function updateCmsMeetingById(data) {
  return request({
    url: baseUrl + "/cmsMeeting/updateCmsMeetingById",
    method: "put",
    data,
  });
}
// 是否有会议需要审批
export function ifApproval(params) {
  return request({
    url: baseUrl + "/cmsMeeting/ifApproval",
    method: "get",
    params,
  });
}
